package com.ruoyi.mapper;

import com.ruoyi.domain.Ability_ServiceInfor;
import com.ruoyi.domain.Ability_SubscribeInfor;
import com.ruoyi.domain.Ability_UserInfor;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface Ability_SubscribeInforMapper {
    public List<Ability_SubscribeInfor> getAbility_SubscribeInforList(Ability_SubscribeInfor ability_SubscribeInfor);

    public int insertAbility_SubscribeInfor(Ability_SubscribeInfor ability_SubscribeInfor);

    public int updateAbility_SubscribeInfor(Ability_SubscribeInfor ability_SubscribeInfor);

    public int deleteAbility_SubscribeInforById(Integer id);

    public int deleteAbility_SubscribeInforByIds(Integer[] ids);

    public Ability_SubscribeInfor selectAbility_SubscribeInforById(Integer id);
    public String selectServiceName(String serviceId);
    public String selectUserAccount(Integer userId);

    public Ability_ServiceInfor checkService(String sname);
    public Ability_UserInfor checkUser(String account);
    public Ability_SubscribeInfor checkSubscribe(@Param("serviceId") String serviceId,@Param("userId") Integer userId);
}
